package com.gongzu.lin;

import Animal.WhiteHouse;
import com.gongzu.hua.WildMonkey;
import com.gongzu.ling.LanHou;
import com.gongzu.liu.Parrot;
import com.gongzu.tan1.Elephant;
import com.gongzu.xuan.Flyingmonkey;

import java.util.Scanner;

public class GongZuZoo {
    public static void main(String[] args) {
        System.out.println("请选择你需要了解的动物：");
        System.out.println("1.WildMonkey 2.lanhou 3.Elephant 4.parrot 5.flyingmonkey 6.WhileHorse ");
        Scanner inputChoise = new Scanner(System.in);
        int choise = inputChoise.nextInt();
        switch (choise){
            case 1:
                WildMonkey W = new WildMonkey();
                W.setId("202112030023");
                W.setName("刘梓豪");
                W.setHands("千手");
                W.setEar("六耳");
                W.setCrown("菠萝皇冠");
                System.out.print(W);
                break;
            case 2:
                LanHou T = new LanHou();
                T.setId("202112030024");
                T.setName("刘梓豪豪");
                T.setWeight("六百斤");
                T.setHeight("一米五");
                T.setColor("黄色");
                System.out.print(T);
                break;
            case 3:
                Elephant U = new Elephant();
                U.setID("202112030025");
                U.setName("梓豪");
                U.setAge("15");
                U.setGender("男");
                U.setHeight("六千斤");
                System.out.print(U);
                break;
            case 4:
                Parrot I = new Parrot();
                I.setId("202112030026");
                I.setName("牡丹鹦鹉");
                I.setFrom("非洲");
                I.setColour("浅蓝色");
                I.setHeight("10厘米");
                I.setCharacter("阿巴阿巴");
                System.out.print(I);
                break;
            case 5:
                Flyingmonkey O = new Flyingmonkey();
                O.setId("飞猴");
                O.setName("豪豪");
                O.setEat("麻辣烫");
                O.setColor("绿色");
                O.setFly("会在海里飞");
                System.out.print(O);
                break;
            case 6:
                WhiteHouse P = new WhiteHouse();
                P.setId("白马");
                P.setName("马儿");
                P.setHeight("两米二");
                P.setColor("白色");
                P.setEat("草");
                System.out.print(P);
                break;

        }
    }
}
